#!/usr/bin/python

from PyQt4 import QtCore, QtGui



class QShowImage(QtGui.QLabel):
	clickedLabel = QtCore.pyqtSignal()
	def __init__(self, parent):
		super(QShowImage, self).__init__()

		self.point = QtCore.QPoint(0, 0)

	def mousePressEvent(self, e):
		self.point = e.pos()
		self.clickedLabel.emit()
		print self.point

if __name__ == '__main__':  
    import sys
 
    app = QtGui.QApplication(sys.argv)       
    win = QShowImage(None)       
    win.show()         
    sys.exit( app.exec_() )

